package com.yjq.yys.yhCalculate.entity;

import lombok.Data;

import java.io.Serializable;

@Data
public class Ss implements Serializable {

    private Integer id;

    private String name;

    private Integer attack;

    private Integer defence;

    private Integer healthPoint;

    private Integer velocity;

    private Float critRate;

    private Float critDamage;

    private Float effectHit;

    private Float effectAvoid;

    private Boolean isDeleted;

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", attack=").append(attack);
        sb.append(", defence=").append(defence);
        sb.append(", healthPoint=").append(healthPoint);
        sb.append(", velocity=").append(velocity);
        sb.append(", critRate=").append(critRate);
        sb.append(", critDamage=").append(critDamage);
        sb.append(", effectHit=").append(effectHit);
        sb.append(", effectAvoid=").append(effectAvoid);
        sb.append(", isDeleted=").append(isDeleted);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}